package com.smmisia.article.request;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CommentAddRequest {

    @NotNull(message = "文章id不能为空")
    private Integer articleId;

    @NotNull(message = "pid不能为空")
    private Integer pid;

    @NotBlank(message = "评论内容不能为空")
    private String content;

    private String images;

    @NotNull(message = "评论类型不能为空")
    private Integer type;

    private Integer toUserId;



}
